class Restaurant():
    def __init__(self, restaurant_name, cuisine_type, number_served):
        self.restaurant_name = restaurant_name
        self.cuisine_type = cuisine_type
        self.number_served = 0
    def describe_restaurant(self):
        print("The restaurant's name is "+self.restaurant_name.title())
        print("The restaurant's type is "+self.cuisine_type.title())
    def open_restaurant(self):
        print("The restaurant is opening.")
    def set_number_served(self, number_served):
        self.number_served = number_served
        print("Number of diners:"+(str)(self.number_served))
    def increment_number_served(self, number_served):
        self.number_served += number_served
        print("I think the number of people this restaurant may receive every day is "+(str)(self.number_served))

MyRestaurant_1 = Restaurant("bom","Chinese food","0")
# MyRestaurant_2 = Restaurant("boom","Western-style food")
# MyRestaurant_3 = Restaurant("booom","Chinese food")
MyRestaurant_1.describe_restaurant()
MyRestaurant_1.set_number_served(20)
MyRestaurant_1.increment_number_served(50)
# MyRestaurant_2.describe_restaurant()
# MyRestaurant_3.describe_restaurant()
# MyRestaurant_1.open_restaurant()

class User():
    def __init__(self, first_name, last_name, age, login_attempts):
        self.first_name = first_name
        self.last_name = last_name
        self.age = age
        self.login_attempts = login_attempts
    def describe_user(self):
        print("User's name is "+self.first_name.title()+" "+self.last_name.title()+","+self.age+".")
    def greet_user(self):
        print("Hello,"+self.first_name.title()+".How are you?")
    def increment_login_attempts(self):
        self.login_attempts += 1
        print("Login_Attempts:"+(str)(self.login_attempts))
    def reset_login_attempts(self):
        self.login_attempts = 0
        print("Login_Attempts:"+(str)(self.login_attempts))
user_1 = User("petter","july","16",0)
# user_2 = User("jane","lucy","17")
# user_1.describe_user()
# user_1.greet_user()
# user_2.greet_user()
user_1.increment_login_attempts()
user_1.increment_login_attempts()
user_1.increment_login_attempts()
user_1.reset_login_attempts()